package threelayer.dao;


import threelayer.bean.User;

/**
 * Created by Myth on 1/22/2017.
 */
public interface UserDao {

    //定义规范
    //利用多态性，可以有多种实现方式
    void addUser(User user);

    void deleteUser(User user);

    User queryUser(User user);

    boolean updateUser(User user);

}
